//
//  TableNavbarV.h
//  jhf
//
//  Created by 计海峰 on 2020/8/22.
//  Copyright © 2020 Mac. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface TableNavbarV : UIView

// 标题文字
@property (nonatomic, copy) NSString *title;

// 可以修改字体的样式
@property (nonatomic, strong) UILabel *centerTitleLabel;

// 默认添加一个返回按钮
@property (nonatomic, strong) UIButton *backButton;
// 默认添加一个右侧按钮
@property (nonatomic, strong) UIButton *rightButton;

// 左边按钮容器
@property (nonatomic, strong) UIStackView *leftSpaceStackView;

// 右边按钮容器
@property (nonatomic, strong) UIStackView *rightSpaceStackView;

// 是否隐藏底部阴影线条
@property (nonatomic, assign, getter=isHidenShadow) BOOL hidenShadow;

// 左边添加视图按钮
- (void)addLeftViews:(NSArray <UIView *> *)view;

// 右边边添加视图按钮
- (void)addRightViews:(NSArray <UIView *> *)view;

@end

NS_ASSUME_NONNULL_END
